<?php

namespace common\models;

use Yii;

/**
 * This is the model class for table "user_order_count".
 *
 * @property integer $id
 * @property integer $user_id
 * @property string $count_date
 * @property integer $sign
 * @property integer $cancel
 * @property integer $exception
 * @property integer $on_time
 * @property integer $over_time
 * @property string $upd_date
 */
class UserOrderCount extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return 'user_order_count';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['user_id', 'sign', 'cancel', 'exception','on_time','over_time'], 'integer'],
            [['count_date', 'upd_date'], 'safe'],
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'user_id' => 'User ID',
            'count_date' => 'Count Date',
            'sign' => '妥投统计',
            'cancel' => '取消统计',
            'exception' => '异常统计',
            'upd_date' => 'Upd Date',
            'on_time' => 'on_time',
            'over_time' => 'over_time',
        ];
    }
}
